/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "维修单",TableName = "qx_wxd_nr")]
    public partial class qx_wxd_nr:BaseEntity
    {
        /// <summary>
       ///主键id
       /// </summary>
       [Key]
       [Display(Name ="主键id")]
       [MaxLength(36)]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid Id { get; set; }

       /// <summary>
       ///单据日期
       /// </summary>
       [Display(Name ="单据日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? riqi { get; set; }

       /// <summary>
       ///单号
       /// </summary>
       [Display(Name ="单号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string danhao { get; set; }

       /// <summary>
       ///车牌号
       /// </summary>
       [Display(Name ="车牌号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string chepaihao { get; set; }

       /// <summary>
       ///客户姓名
       /// </summary>
       [Display(Name ="客户姓名")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string kehuname { get; set; }

       /// <summary>
       ///联系电话
       /// </summary>
       [Display(Name ="联系电话")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string dianhua { get; set; }

       /// <summary>
       ///结算方式
       /// </summary>
       [Display(Name ="结算方式")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? jiesuanfangshi { get; set; }

       /// <summary>
       ///车型
       /// </summary>
       [Display(Name ="车型")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string chexing { get; set; }

       /// <summary>
       ///公里数
       /// </summary>
       [Display(Name ="公里数")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string gonglishu { get; set; }

       /// <summary>
       ///配件总金额
       /// </summary>
       [Display(Name ="配件总金额")]
       [DisplayFormat(DataFormatString="10,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? peijiansum { get; set; }

       /// <summary>
       ///维修项目总金额
       /// </summary>
       [Display(Name ="维修项目总金额")]
       [DisplayFormat(DataFormatString="10,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? weixiusum { get; set; }

       /// <summary>
       ///总金额
       /// </summary>
       [Display(Name ="总金额")]
       [DisplayFormat(DataFormatString="10,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? zsum { get; set; }

       /// <summary>
       ///创建人id
       /// </summary>
       [Display(Name ="创建人id")]
       [Column(TypeName="int")]
       public int? CreateID { get; set; }

       /// <summary>
       ///创建人
       /// </summary>
       [Display(Name ="创建人")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       public string Creator { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       public DateTime? CreateDate { get; set; }

       /// <summary>
       ///修改人id
       /// </summary>
       [Display(Name ="修改人id")]
       [Column(TypeName="int")]
       public int? ModifyID { get; set; }

       /// <summary>
       ///修改人
       /// </summary>
       [Display(Name ="修改人")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       public string Modifier { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       public DateTime? ModifyDate { get; set; }

       /// <summary>
       ///备注
       /// </summary>
       [Display(Name ="备注")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       public string beizhu { get; set; }

       /// <summary>
       ///是否删除
       /// </summary>
       [Display(Name ="是否删除")]
       [Column(TypeName="int")]
       public int? IsDeleted { get; set; }

       /// <summary>
       ///车架号
       /// </summary>
       [Display(Name ="车架号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       public string chejiahao { get; set; }

       /// <summary>
       ///车辆信息编号
       /// </summary>
       [Display(Name ="车辆信息编号")]
       [MaxLength(36)]
       [Column(TypeName="uniqueidentifier")]
       public Guid? carId { get; set; }

       /// <summary>
       ///车辆选择模式
       /// </summary>
       [Display(Name ="车辆选择模式")]
       [Column(TypeName="int")]
       public int? notselectdataCar { get; set; }

       
    }
}